package com.serviceImpl;

import com.mapper.PermissionMapper;
import com.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("permissionService")
public class PermissionServiceImpl implements PermissionService{
    @Autowired
    PermissionMapper permissionMapper;
    @Override
    public List<PermissionMapper> findAll() {
        return permissionMapper.selectAll();
    }
}
